<template>
  <div class="mobile-batch-action" v-if="selectedCount > 0">
    <div class="batch-action-content">
      <span class="selected-count">已选择 {{ selectedCount }} 项</span>
      <el-button type="danger" size="small" @click.stop="handleBatchDelete">批量删除</el-button>
    </div>
  </div>
</template>

<script>
export default {
  name: 'MobileBatchActions',
  props: {
    selectedCount: {
      type: Number,
      default: 0
    }
  },
  methods: {
    handleBatchDelete() {
      this.$emit('batch-delete');
    }
  }
}
</script>

